#ifndef LOGPANEL_H
#define LOGPANEL_H

#include "PanelPart.h"
#include <string>
#include <vector>

class LogPanel : public PanelPart{
public:
	LogPanel(unsigned int x, unsigned int y, unsigned int width, unsigned int height, float r, float g, float b, float bg_r, float bg_g, float bg_b, char* value_type, char* name);

	void write(std::string data);

	void draw();

private:
	std::vector<std::string> log;
	
	unsigned int text_height;
	unsigned int text_width;
};
#endif
